package com.ruicar.afs.cloud.afscase.creditoption.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author jiaqi.guo
 * @version 1.0
 * @created 2020/5/19 11:42
 */
@Data
@ApiModel(value = "信贷选项参数配置")
@TableName("conf_approve_credit_options")
public class CreditOption extends BaseEntity<CreditOption> {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "参数名称")
    @NotBlank(message = "参数名称不能为空")
    private String parameterName;

    @ApiModelProperty(value = "控件类型")
    @NotBlank(message = "控件类型不能为空")
    /** 控件类型;复选框、单选框、文本框、大文本框、日期、日期时间、整数、小数、比例 */
    private String controlType;

    @ApiModelProperty(value = "数据字典ID")
    @NotBlank(message = "数据字典ID不能为空")
    private String dataDicId;

    @ApiModelProperty(value = "显示人员")
    @NotBlank(message = "显示人员不能为空")
    /** 显示人员 */
    private String showPeople;

    @ApiModelProperty(value = "显示业务类型")
    @NotBlank(message = "显示业务类型不能为空")
    /** ;新车、二手车、挂牌车、所有 */
    private String showBusinessType;

    @ApiModelProperty(value = "状态;0-失效；1-生效")
    @NotBlank(message = "是否生效不能为空")
    /** 是否生效;已生效/未生效 */
    private String status;

    /**
     * 车辆类型
     */
    @ApiModelProperty(value = "车辆类型")
    private String carType;

    /**
     * 车辆属性
     */
    @ApiModelProperty(value = "车辆属性")
    private String carNature;

    /**
     * 运营方式
     */
    @ApiModelProperty(value = "运营方式")
    private String operateWay;

    /**
     * 挂靠方式
     */
    @ApiModelProperty(value = "挂靠方式")
    private String affiliatedWay;

}
